From: Keir Fraser Date: Wed, 26 Nov 2008 11:11:26 +0000 (+0000) Subject: timer: Print timer fn when dump timer queue X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14040^2~23^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=63e8b9079489139fe9e23fc8e155f83e81eadc95;p=xen.git timer: Print timer fn when dump timer queue Print timer fn when dump timer queue, which would be useful to understand type of the timer. Signed-off-by Kevin Tian --- diff --git a/xen/common/timer.c b/xen/common/timer.c index 0f74b27d38..97496dc5ac 100644 --- a/xen/common/timer.c +++ b/xen/common/timer.c @@ -494,12 +494,14 @@ static void dump_timerq(unsigned char key) for ( j = 1; j <= GET_HEAP_SIZE(ts->heap); j++ ) { t = ts->heap[j]; - printk (" %d : %p ex=0x%08X%08X %p\n", - j, t, (u32)(t->expires>>32), (u32)t->expires, t->data); + printk (" %d : %p ex=0x%08X%08X %p %p\n", + j, t, (u32)(t->expires>>32), (u32)t->expires, + t->data, t->function); } for ( t = ts->list, j = 0; t != NULL; t = t->list_next, j++ ) - printk (" L%d : %p ex=0x%08X%08X %p\n", - j, t, (u32)(t->expires>>32), (u32)t->expires, t->data); + printk (" L%d : %p ex=0x%08X%08X %p %p\n", + j, t, (u32)(t->expires>>32), (u32)t->expires, + t->data, t->function); spin_unlock_irqrestore(&ts->lock, flags); printk("\n"); }